package com.hermit.system.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * user_student表实体
 */
@Data
@TableName("user_student")
public class UserStudentDTO {
    @TableId
    private Integer id;
    private String name;
    private String code;
    private String username;
    private String password;
    private String tel;
    private String address;
    private Integer sex;
    private Integer age;
    private Integer classId;
    private Integer gradeStatus;
    private Integer roleId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedAt;
    private Integer deleteFlag;

    private String classesName;
    private String MajorName;
    private String CollegeName;
}